/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明： Entity Name 供货商明细汇总表
 * 
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name = "ruipengkj_view_supplier_detail_summary")
public class ViewSupplierDetailSummary implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String DetailID;//编号
	private String supplierName;// 供货商名称
//	private String PurchaseID;// 采购单号
	private Date HappenTime;// 发生日期
	private String commodityName;// 商品名称
	private String Unit;//单位
	private int Num;// 商品数量
	private double Price;// 商品价格
	private String Buyer;//采购员
	private String Operator;//操作人
	
	public String getUnit() {
		return Unit;
	}
	public void setUnit(String unit) {
		Unit = unit;
	}
	public String getBuyer() {
		return Buyer;
	}
	public void setBuyer(String buyer) {
		Buyer = buyer;
	}
	public String getOperator() {
		return Operator;
	}
	public void setOperator(String operator) {
		Operator = operator;
	}
	@Id
	public String getDetailID() {
		return DetailID;
	}
	public void setDetailID(String detailID) {
		DetailID = detailID;
	}
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
//	public String getPurchaseID() {
//		return PurchaseID;
//	}
//	public void setPurchaseID(String purchaseID) {
//		PurchaseID = purchaseID;
//	}
	public Date getHappenTime() {
		return HappenTime;
	}
	public void setHappenTime(Date happenTime) {
		HappenTime = happenTime;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}
	public int getNum() {
		return Num;
	}
	public void setNum(int num) {
		Num = num;
	}
	public double getPrice() {
		return Price;
	}
	public void setPrice(double price) {
		Price = price;
	}
}
